/* 模块维护 */
import httpRequest from '@/utils/httpRequest'
// 获取列表
export function getMqttList (params) {
  return httpRequest({
    url: '/tenant/mqttClient/list',
    method: 'get',
    params
  })
}
// 修改状态
export function modifyState (params) {
  return httpRequest({
    url: '/tenant/mqttClient/modifyState',
    method: 'post',
    params
  })
}
// 删除
export function deMqtt (params) {
  return httpRequest({
    url: '/tenant/mqttClient/delete',
    method: 'delete',
    params
  })
}
